-- GENERATED SPELL FOR [Fel Orc Neophyte] --


function spell0_17429(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(22120,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17429', 630, 1)
end

function spell1_17429(pUnit, Event) --@Frenzy,Self--
pUnit:FullCastSpellOnTarget(8269,pUnit)
pUnit:RegisterEvent('Sorts_17429', 662, 1)
end

function Sorts_17429(pUnit, Event)
local choix_sorts_17429 = math.random(0, 1)
if choix_sorts_17429 == 0 then
pUnit:RegisterEvent('spell0_17429', 1, 1)
end
if choix_sorts_17429 == 1 then
pUnit:RegisterEvent('spell1_17429', 1, 1)
end
end

function mob17429_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17429', math.random(1500, 3000), 1)
end

function mob17429_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17429_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17429_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17429, 1, 'mob17429_Action')
RegisterUnitEvent(17429, 2, 'mob17429_Leave')
RegisterUnitEvent(17429, 3, 'mob17429_Kill')
RegisterUnitEvent(17429, 4, 'mob17429_Die')
